//
//  UserModel.h
//  VideoExam
//
//  Created by apple on 2020/4/21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UserModel : NSObject<NSCoding>
@property(nonatomic,strong)NSString * userName;
@property(nonatomic,strong)NSString * phone;
@property(nonatomic,strong)NSString * sex;
@property(nonatomic,strong)NSString * token;
///未完成的订单号
@property(nonatomic,strong)NSString * unfinished_order_number;
//保存登录信息
+ (void)save_userModel:(UserModel *)model;

//获取userModel
+(UserModel *)get_userModel;

+(void)delete_userModel;

/// 退出登录接口
/// @param success 成功
/// @param errorBlock errorBlock
+ (void)exit_Login_Success:(ObjSuccess)success error:(ErrorBlock)errorBlock;
@end

NS_ASSUME_NONNULL_END
